#include <stdio.h>
#include <stdlib.h>
#include "crypto/types.h"
#include <sys/select.h>
#include <sys/time.h>

int main()
{
    char buffer[2048];
    struct timeval selectTimeout;

    while (1)
    {
        // scanf("%[^\n]", buffer);
        // printf("%s\n", buffer);
        // fgets(buffer, 2048, stdin);
        // printf("%s\n", buffer);

        selectTimeout.tv_sec = 1;
        selectTimeout.tv_usec = 0;
        select(2, NULL, NULL, NULL, &selectTimeout);
        printf("hello\n");
    }

    return 0;
}